package cn.iocoder.yudao.module.mqtt.controller.admin.devicelatestflow.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;

import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 设备最新信息新增/修改 Request VO")
@Data
public class DeviceLatestFlowSaveReqVO {

    @Schema(description = "设备 ID，主键，自增", requiredMode = Schema.RequiredMode.REQUIRED, example = "12897")
    private Long id;

    @Schema(description = "设备唯一标识符", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "设备唯一标识符，全局唯一，用于识别设备不能为空")
    private String deviceKey;
    @Schema(description = "设备ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long deviceId;

    @Schema(description = "网关编号", requiredMode = Schema.RequiredMode.REQUIRED)
    private String gatewayId;

    @Schema(description = "日产流量", requiredMode = Schema.RequiredMode.REQUIRED)
    private String lisDay;

    @Schema(description = "全部流量", requiredMode = Schema.RequiredMode.REQUIRED)
    private String lisAll;

    @Schema(description = "年产流量", requiredMode = Schema.RequiredMode.REQUIRED)
    private String lisYear;

    @Schema(description = "月产流量", requiredMode = Schema.RequiredMode.REQUIRED)
    private String listMonth;

    @Schema(description = "设备ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime lisTime;


}